// Lottery.cpp : Defines the entry point for the application.
//

/************************************************************************/  
/*
* Copyright (C) xlogosft.com Corporation
* All rights reserved.
*
* FileName:     Lottery.cpp
* Date:         2009.00.00
* Author:       xlog
* Update:
*
* Description:  $Description$
*/
/************************************************************************/

// project related header file
#include "stdafx.h"
#include "Lottery.h"



// Application class derived from CMzApp
BOOL CLotteryApp::Init()
{
    // Init the COM relative library.
    CoInitializeEx(0, COINIT_MULTITHREADED);

    // Create the main window
    RECT rcWork = MzGetWorkArea();
    m_MainWnd.Create(rcWork.left,rcWork.top,RECT_WIDTH(rcWork),RECT_HEIGHT(rcWork), 0, 0, 0);
    m_MainWnd.Show();

    // return TRUE means init success.
    return TRUE;
}

// The global variable of the application.
CLotteryApp theApp;